package com.woniuxy.mapper;

import com.woniuxy.entity.FriendShip;
import com.woniuxy.entity.FriendShipExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface FriendShipMapper {
    long countByExample(FriendShipExample example);

    int deleteByExample(FriendShipExample example);

    int deleteByPrimaryKey(Integer friendId);

    int insert(FriendShip record);

    int insertSelective(FriendShip record);

    List<FriendShip> selectByExample(FriendShipExample example);

    FriendShip selectByPrimaryKey(Integer friendId);

    int updateByExampleSelective(@Param("record") FriendShip record, @Param("example") FriendShipExample example);

    int updateByExample(@Param("record") FriendShip record, @Param("example") FriendShipExample example);

    int updateByPrimaryKeySelective(FriendShip record);

    int updateByPrimaryKey(FriendShip record);
}